package com.fqcar.fqdf.ui.main.runnable;

import com.baidu.mapapi.map.BaiduMap;
import com.baidu.mapapi.map.Overlay;
import com.fqcar.fqdf.ui.chargemap.view.StubViewInterface;
import com.fqcar.fqdf.ui.main.marker.MainBaiduMarkerHelper;
import com.fqcar.fqdf.ui.main.view.MainViewInterface;

import java.util.List;

/**
 * @desc
 */
public abstract class BaiduRunnable extends BaseRunnable {

    private BaiduMap mBaiduMap;
    private MainBaiduMarkerHelper mMarkerHelper;

    public interface MyRunnableListener{
        void handleFinish(List<Overlay> dataList);
    }

    public BaiduRunnable(MainViewInterface mainView, BaiduMap baiduMap , MainBaiduMarkerHelper markerHelper) {
        super(mainView);
        this.mBaiduMap = baiduMap;
        this.mMarkerHelper = markerHelper;
    }

    public BaiduRunnable(StubViewInterface stubView, BaiduMap baiduMap , MainBaiduMarkerHelper markerHelper) {
        super(stubView);
        this.mBaiduMap = baiduMap;
        this.mMarkerHelper = markerHelper;
    }

    public BaiduMap getBaiduMap() {
        return mBaiduMap;
    }

    public MainBaiduMarkerHelper getMarkerHelper() {
        return mMarkerHelper;
    }

}
